From: Olaf Hering Date: Wed, 6 Jul 2011 15:32:16 +0000 (+0100) Subject: libxl: testenum.c depends on libxl.h X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10073 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=e7f49e6becdb2f5081fc563af8b8a0b646a4b702;p=xen.git libxl: testenum.c depends on libxl.h testenum.c may fail to compile if libxl.h dependencies are not yet met. In file included from testenum.c:3: libxl.h:199:26: error: _libxl_types.h: No such file or directory In file included from testenum.c:3: libxl.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token .... Signed-off-by: Olaf Hering Acked-by: Ian Campbell Committed-by: Ian Jackson --- diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index fc8ddca0e6..0c9162f919 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -52,7 +52,7 @@ $(XL_OBJS): CFLAGS += $(CFLAGS_libxenctrl) # For xentoollog.h $(XL_OBJS): CFLAGS += $(CFLAGS_libxenlight) testenum.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight) -testenum.c: libxl.idl gentest.py +testenum.c: libxl.idl gentest.py libxl.h $(PYTHON) gentest.py libxl.idl testenum.c.new mv testenum.c.new testenum.c